package com.aspose.cells;

import java.util.ArrayList;

class zapi {
   int a;
   int b;
   Cell c;
   ArrayList d;
   zaqm e;
   zapi[] f;
   Hyperlink g;
   Comment h;
   int i = 1;
   int j = -1;

   boolean a() {
      return this.e != null && (this.e.a != this.a || this.e.c != this.b);
   }

   int b() {
      return this.e == null ? this.b + this.i - 1 : this.e.d;
   }

   boolean c() {
      if (this.c != null && !this.c.d()) {
         return false;
      } else if (this.e != null) {
         return false;
      } else if (this.g != null) {
         return false;
      } else if (this.d != null && this.d.size() > 0) {
         return false;
      } else if (this.h != null) {
         return false;
      } else {
         return this.f == null;
      }
   }
}
